package com.patchmanage.back.entity;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import java.time.LocalDateTime;
    import java.io.Serializable;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;

/**
* <p>
    * 
    * </p>
*
* @author huizhao
* @since 2021-03-31
*/
    @ApiModel(value="FileLibrary对象", description="")
    public class FileLibrary implements Serializable {

    private static final long serialVersionUID = 1L;

            @ApiModelProperty(value = "文件id")
            @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

            @ApiModelProperty(value = "文件编号")
    private String fileNo;

            @ApiModelProperty(value = "文件名称")
    private String fileName;

            @ApiModelProperty(value = "文件版本")
    private String version;

            @ApiModelProperty(value = "文件类型（1rpm，2exe，3xls，4deb，5pdf）")
    private String type;

            @ApiModelProperty(value = "适配操作系统（1Windows，2linux  centos，3Linux  ubuntu）")
    private String adaptationOs;

            @ApiModelProperty(value = "文件大小")
    private Double size;

            @ApiModelProperty(value = "用途")
    private String used;

            @ApiModelProperty(value = "0不可用1可用")
    private Integer status;

            @ApiModelProperty(value = "文件来源（1上级平台，2厂家同步，3本地上传）")
    private Integer fileSource;

            @ApiModelProperty(value = "文件地址")
    private String fileUrl;

            @ApiModelProperty(value = "源文件名称")
    private String sourceFileName;

            @ApiModelProperty(value = "发布时间")
    private LocalDateTime publishingTime;

        public Integer getId() {
        return id;
        }

            public void setId(Integer id) {
        this.id = id;
        }
        public String getFileNo() {
        return fileNo;
        }

            public void setFileNo(String fileNo) {
        this.fileNo = fileNo;
        }
        public String getFileName() {
        return fileName;
        }

            public void setFileName(String fileName) {
        this.fileName = fileName;
        }
        public String getVersion() {
        return version;
        }

            public void setVersion(String version) {
        this.version = version;
        }
        public String getType() {
        return type;
        }

            public void setType(String type) {
        this.type = type;
        }
        public String getAdaptationOs() {
        return adaptationOs;
        }

            public void setAdaptationOs(String adaptationOs) {
        this.adaptationOs = adaptationOs;
        }
        public Double getSize() {
        return size;
        }

            public void setSize(Double size) {
        this.size = size;
        }
        public String getUsed() {
        return used;
        }

            public void setUsed(String used) {
        this.used = used;
        }
        public Integer getStatus() {
        return status;
        }

            public void setStatus(Integer status) {
        this.status = status;
        }
        public Integer getFileSource() {
        return fileSource;
        }

            public void setFileSource(Integer fileSource) {
        this.fileSource = fileSource;
        }
        public String getFileUrl() {
        return fileUrl;
        }

            public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
        }
        public String getSourceFileName() {
        return sourceFileName;
        }

            public void setSourceFileName(String sourceFileName) {
        this.sourceFileName = sourceFileName;
        }
        public LocalDateTime getPublishingTime() {
        return publishingTime;
        }

            public void setPublishingTime(LocalDateTime publishingTime) {
        this.publishingTime = publishingTime;
        }

    @Override
    public String toString() {
    return "FileLibrary{" +
            "id=" + id +
            ", fileNo=" + fileNo +
            ", fileName=" + fileName +
            ", version=" + version +
            ", type=" + type +
            ", adaptationOs=" + adaptationOs +
            ", size=" + size +
            ", used=" + used +
            ", status=" + status +
            ", fileSource=" + fileSource +
            ", fileUrl=" + fileUrl +
            ", sourceFileName=" + sourceFileName +
            ", publishingTime=" + publishingTime +
    "}";
    }
}
